﻿#define _CRT_SECURE_NO_WARNINGS 1

//编程初学者入门训练第四十题
//BC42 完美成绩
//https://www.nowcoder.com/practice/8312e497509a450f968d9a6a2381ce32?tpId=107&tqId=33323&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D107&difficulty=undefined&judgeStatus=undefined&tags=&title=

#include <stdio.h>

int main() {
    int n = 0;
    while (scanf("%d", &n) != EOF) {
        if (n >= 90 && n <= 100)
            printf("Perfect");
    }
    return 0;
}